home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Conversion
/
Convert_PICT
/
Testing
/
hex_tests
/
rrect=misc.hex
< prev
next >
Wrap
Text File
|
1992-11-01
|
3KB
|
54 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
11 01 % verson
01 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
30 0000 0000 00FF 00FF % draw bounding rect
02 AA AA AA AA AA AA AA AA % fill pat
09 FF FF FF FF FF FF FF FF % pn pat
0A AA 55 AA 55 AA 55 AA 55 % back pat
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Test miscellaneous aspects of round rectangles:
% Position one in a negative area partially off screen
% Place one so it's upper right corner is below it's lower left corner
% Like above, but only one side.
% Draw an elongated one off center of the area to confirm we aren't flipping
% any axes.
% Also, try one with different penwidths and height.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Use an ovalsize of 16 here, just so these look like ovals! =)
0B 0010 0010
% paint a rectangle partially off screen
41 FFC0 FFC0 0030 0030
% Erase one with reversed coords
43 0060 0070 0040 0040
% Erase Another, but only put left to the right or right
43 0080 00A0 00C0 0080
% fill an elongated one off to the lower right
44 0070 00C0 00F0 00E0
% Now, Make the pen very rectangular (not square) (very tall, not very wide)
07 0008 0020
% frame a different elongated one off to the bottom left
40 00C0 0020 00F8 00B0
%To test another aspect of the framing code, make a thin frame vertical rrect
07 0004 0004
% frame an elongated one
40 0050 0030 00B0 0070
FF % end